<template>
  <div class="courser-header">
    <van-image :src="require('@/assets/lagou.png')"></van-image>
    <span class="lagou">拉钩教育</span>
    <span class="desc">互联网人实战大学</span>
  </div>
</template>
<script>
export default {
  name: 'courser-header'
}
</script>
<style lang="scss" scope>
.courser-header {
  height: 70px;
  background-color: #fff;
  box-shadow: 0 1px 0 0 rgba(0,0,0,.06);
  display: flex;
  align-items: center;
  .van-image {
    width: 40px;
    height: 40px;
  }
  .lagou {
    font-size: 20px;
    margin-left: 10px;
    font-family: PingFangSC-Medium,PingFang SC;
    font-weight: 500;
    color: #333;
    line-height: 20px;
  }
  .desc {
    position: relative;
    font-size: 18px;
    font-family: PingFangSC-Regular,PingFang SC;
    font-weight: 400;
    color: #999;
    margin-left: 20px;
    vertical-align: middle;
    &::before{
      content: "";
      position: absolute;
      left: -10px;
      top: 5px;
      width: 1px;
      height: 16px;
      background: #e6e6e6;
    }
  }
}
</style>
